package edu.sctu.practice.class02.lvchang.assign03.test1;

/**
 * Created by Administrator on 2015/10/22.
 */
public abstract class GeometricObject {

    protected String color;//定义color为图形的颜色

    public GeometricObject(String color) {
        this.color = color;
    }

    /*
    * 抽象方法求图形面积
    * */
    public abstract double findArea();

    /*
     * 抽象方法求图形周长
     * */
    public abstract double findPerimeter();

}
